<?xml version="1.0" encoding="UTF-8"?>
<!--
    Welcome site of MusicPliz
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<h:outputStylesheet name="style.css" library="css" />
	<title>MusicPliz</title>
</h:head>
<h:body>
	<ui:include src="/WEB-INF/includes/header.xhtml" />
	<div id="container">
	<h:messages showDetail="false" showSummary="true" />
	<!-- do not change this link! it's a spring security link for the login-functionality -->
		<form class="classic" name="login"
			action="#{request.contextPath}/j_spring_security_check" method="post">
			
			<h1>Login</h1>
			 	<p>
			 		<label for="j_username">e-mail</label>
			 		<h:inputText id="j_username" value="#{username}" required="true" />
			 	</p>
				<p>
					<label for="j_password">mot de passe</label>
					<h:inputSecret id="j_password" required="true" />
				</p>
				<input type="submit" name="loginBtn" value="login" />
		</form>
		<div class="navigationLinks">
			<!--h:link outcome="#{NavigationBean.getForgotPasswordSite()}" value="Mot de passe oublié?" /-->
			<h:link outcome="#{NavigationBean.getNewAccountSite()}" value="S'inscrire" />
		</div>
	</div>
</h:body>
</html>
